<?php
include 'DBManager.class.php';
$db = new DBManager ( 'localhost', 'root', '', 'iumus' );
if ( isset ( $_GET ) ) extract ( $_GET );
$query = '';
$query .= 'INSERT INTO commenti ( id, idFilm, idUser, commento ) VALUES ( NULL, "'.$idFilm.'", "'.$_SESSION['username'].'", "'.$commento.'" )';
$db->executeQuery ( $query );
?>